package com.hotel_management_backstage.lin.dao;

import com.hotel_management_backstage.lin.entity.SysResidentRoom;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysResidentRoomMapper {
    List<SysResidentRoom> listByResidentId(int id);

    void insertResidentRoom(SysResidentRoom sysResidentRoom);

    void deleteResidentRoomByResidentId(int residentId);

    SysResidentRoom selectByRoomId(int roomId);
}
